
SHELL = /bin/sh

TOPDIR = ../../../../..

include $(TOPDIR)/Makefile.common

JAVAC = javac -classpath $(SSFNET_TEST_CLASSPATH)
JAVA  = java  -classpath $(SSFNET_TEST_CLASSPATH)

all:  basic record play

record:
	$(JAVA) SSF.Net.Net 500 sample.dml > run.log 2>&1

play:
	$(JAVA) SSF.Util.Streams.BasicPlayer "My Stream.1" /tmp/mystream.dat.1 > play.log 2>&1
	grep Player play.log
	@echo
	@echo See run.log for SSFNet run details, play.log for player output.
	@echo
	@echo Raw data in files /tmp/mystream.dat.X for timelines X={1,2}
	@echo

basic:
	$(JAVAC) Example.java 
	$(JAVA) SSF.Util.Streams.example.Example > basic.log 2>&1

clean:
	- rm *.log
